package dto;

public class ProduktBatchDTO 
{
	int pbId;
	int status;
	int receptId;
	int oprId;
	int rbId;
	double tera;
	double netto;
	String startTid;
	String slutTid;

	public ProduktBatchDTO(int pbId, int receptId, int status, int oprId, int rbId, double tera, double netto, String startTid, String slutTid)
	{
		this.pbId = pbId;
		this.status = status;
		this.receptId = receptId;
		this.oprId = oprId;
		this.rbId = rbId;
		this.netto = netto;
		this.tera = tera;
		this.startTid = startTid;
		this.slutTid = slutTid;
	}

	public int getPbId() { return pbId; }
	public void setPbId(int pbId) { this.pbId = pbId; }
	public int getStatus() { return status; }
	public void setStatus(int status) { this.status = status; }
	public int getReceptId() { return receptId; }
	public void setReceptId(int receptId) { this.receptId = receptId; }
	public int getoprId() { return oprId; }
	public void setoprId(int oprId) { this.oprId = oprId; }
	public int getrbId() { return rbId; }
	public void setrbId(int rbId) { this.rbId = rbId; }
	public double gettera() { return tera; }
	public void settera(double nettoProduct) { this.tera = nettoProduct; }
	public double getnetto() { return netto; }
	public void setnetto(double netto) { this.netto = netto; }
	public String toString() { return pbId + "\t" + status + "\t" + receptId+ "\t" + oprId+ "\t" + rbId+ "\t" + tera+ "\t" + netto; }
	public String getstartTid(){return startTid;};
	public String getslutTid(){return slutTid;};
	public void setstartTid(String startTid){ this.startTid = startTid;};
	public void setslutTid(String slutTid){this.slutTid = slutTid;};
}
